package com.sgj.builder.improve;

/**
 * 建造者模式
 * @Author: Guoji Shen
 * @Date: 2021/11/15 9:45
 */
public class CommonHouse extends HouseBuilder {

    @Override
    public void buildBasic() {
        System.out.println("普通房子打地基5m");
    }

    @Override
    public void buildWalls() {
        System.out.println("普通房子砌墙10cm");
    }

    @Override
    public void roofed() {
        System.out.println("普通房子封顶");
    }
}